broadway: Clean up protocol message writing a bit
authorAlexander Larsson <alexl@redhat.com>
Thu, 10 Mar 2011 12:59:30 +0000 (13:59 +0100)
committerAlexander Larsson <alexl@redhat.com>
Thu, 10 Mar 2011 12:59:30 +0000 (13:59 +0100)
commit3914d0af3856ca5fa2277d879d46ee5666a0cabe
tree7012c44f80dfdff245a69feb043237aa79b0fcac
parent4765f37484b28b99b18b8e7c96bc71754cfe9ebd
broadway: Clean up protocol message writing a bit

Centralize the header writing so we can extend it later.
Don't opencode the size of element when increasing p.
gdk/broadway/broadway.c